/* 全局样式 - 色彩鲜艳主题 */
:root {
    /* 全局基础变量 */
    --dark: #1A1A2E; /* 深色文本 */
    --light: #F8F9FA; /* 浅色背景 */
    --success: #00F5D4; /* 亮青色成功色 */
    --warning: #FF5714; /* 橙色警告色 */
    --danger: #E63946; /* 鲜红色危险色 */
    --gray: #555555; /* 中性灰色 */
    
    /* 默认主题 - 企业招聘者 */
    --primary: #3A86FF; /* 专业蓝色主色调 */
    --secondary: #4A6FFF; /* 深蓝色辅助色 */
    --accent: #82C3EC; /* 浅蓝色强调色 */
    
    /* 应聘者主题变量 */
    --seeker-primary: #36D399; /* 活力绿色主色调 */
    --seeker-secondary: #10B981; /* 深绿色辅助色 */
    --seeker-accent: #A7F3D0; /* 浅绿色强调色 */
    
    /* 管理员主题变量 */
    --admin-primary: #6366F1; /* 权威紫色主色调 */
    --admin-secondary: #4F46E5; /* 深紫色辅助色 */
    --admin-accent: #C7D2FE; /* 浅紫色强调色 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, var(--primary), #6B8FFF);
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-btn {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    background-color: rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-btn:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 按钮样式 */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: #3A5FEF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 111, 255, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: #E85A5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* 卡片组件 */
.card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.card-title {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 600;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E1E5EB;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(74, 111, 255, 0.15);
}

/* 轮播公告 */
.announcement-carousel {
    height: 320px;
    background: linear-gradient(45deg, var(--accent), var(--secondary));
    border-radius: 16px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    padding: 0 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        width: 100%;
    }
    .nav-links {
        gap: 15px;
    }
    .announcement-carousel {
        height: 220px;
        font-size: 22px;
    }
}